package com.dayuanit.dy17.mix.aop;

import com.dayuanit.dy17.mix.aop.service.IUserService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestLogger {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("spring-ioc.xml");

        IUserService userService = context.getBean(IUserService.class);

        userService.login("jack", "222");
    }
}
